home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue72 / construc / IHitchHiker.xml < prev    next >
Encoding:
Extensible Markup Language  |  2001-07-03  |  2.2 KB  |  48 lines

  1. <?xml version="1.0"?>
  2.  
  3. <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IHitchHikerservice" targetNamespace="http://www.borland.com/soapServices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
  4.  
  5.   <message name="TheAnswerRequest"/>
  6.  
  7.   <message name="TheAnswerResponse">
  8.  
  9.     <part name="return" type="xs:int"/>
  10.  
  11.   </message>
  12.  
  13.   <message name="TheQuestionRequest"/>
  14.  
  15.   <message name="TheQuestionResponse">
  16.  
  17.     <part name="return" type="xs:string"/>
  18.  
  19.   </message>
  20.  
  21.   <portType name="IHitchHiker">
  22.  
  23.     <operation name="TheAnswer">
  24.  
  25.       <input message="TheAnswerRequest"/>
  26.  
  27.       <output message="TheAnswerResponse"/>
  28.  
  29.     </operation>
  30.  
  31.     <operation name="TheQuestion">
  32.  
  33.       <input message="TheQuestionRequest"/>
  34.  
  35.       <output message="TheQuestionResponse"/>
  36.  
  37.     </operation>
  38.  
  39.   </portType>
  40.  
  41.   <binding name="IHitchHikerbinding" type="IHitchHiker">
  42.  
  43.     <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  44.  
  45.     <operation name="TheAnswer">
  46.  
  47.       <soap:operation soapAction="urn:HitchHiker-IHitchHiker#TheAnswer"/>
  48.  
  49.       <input>
  50.  
  51.         <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:HitchHiker-IHitchHiker"/>
  52.  
  53.       </input>
  54.  
  55.       <output>
  56.  
  57.         <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:HitchHiker-IHitchHiker"/>
  58.  
  59.       </output>
  60.  
  61.     </operation>
  62.  
  63.     <operation name="TheQuestion">
  64.  
  65.       <soap:operation soapAction="urn:HitchHiker-IHitchHiker#TheQuestion"/>
  66.  
  67.       <input>
  68.  
  69.         <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:HitchHiker-IHitchHiker"/>
  70.  
  71.       </input>
  72.  
  73.       <output>
  74.  
  75.         <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:HitchHiker-IHitchHiker"/>
  76.  
  77.       </output>
  78.  
  79.     </operation>
  80.  
  81.   </binding>
  82.  
  83.   <service name="IHitchHikerservice">
  84.  
  85.     <port name="IHitchHikerPort" binding="IHitchHikerbinding">
  86.  
  87.       <soap:address location="http://drbob42.tdmweb.com/cgi-bin/WebService42.exe/soap/IHitchHiker"/>
  88.  
  89.     </port>
  90.  
  91.   </service>
  92.  
  93. </definitions>
  94.  
  95.